<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>教师端 - 首页</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/bootstrap.min.css">
    <script src="${pageContext.request.contextPath}/static/js/jquery-3.6.0.min.js"></script>

</head>
<body>
<div class="container">
    <h1 class="mt-5">欢迎来到教师端</h1>

    <!-- 导航菜单 -->
    <div class="mt-4 mb-4">
        <ul class="nav nav-pills">
            <li class="nav-item">
                <a class="nav-link active" href="#">首页</a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="${pageContext.request.contextPath}/teacher/examManage">试卷管理</a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="${pageContext.request.contextPath}/teacher/questionBank">题库管理</a>
            </li>
        </ul>
    </div>

    <!-- 教师信息部分 -->
    <div class="card mt-4">
        <div class="card-header">
            <h3>教师信息</h3>
        </div>
        <div class="card-body">
            <div id="teacherInfo">
                <p>姓名：<span id="teacherName"></span></p>
                <p>工号：<span id="teacherId"></span></p>
                <p>发布试卷数量：<span id="examCount"></span></p>
                <p>发布题库数量：<span id="questionBankCount"></span></p>
            </div>
        </div>
    </div>

</div>


<script src="${pageContext.request.contextPath}/static/js/teacher/home.js"></script>
<script src="${pageContext.request.contextPath}/static/js/bootstrap.bundle.min.js"></script>
</body>
</html>
